<html>
<body>
Reports usages of <code>javax.swing.border.EmptyBorder</code> and <code>JBUI.Borders.emptyXyz()</code> that can be simplified.
<p>
  The <code>EmptyBorder</code> instances are not DPI-aware and can result in UI layout problems.
</p>
<p>
  Quick fix performs replacement with <code>JBUI.Borders.empty()</code> or simplifies the expression.
</p>
<p>Example:</p>
<pre><code lang="java">
// bad:
Border border1 = new EmptyBorder(1, 2, 3, 4);
Border border2 = new EmptyBorder(1, 2, 1, 2);
Border border3 = new EmptyBorder(1, 0, 0, 0);

// good:
Border border1 = JBUI.Borders.empty(1, 2, 3, 4);
Border border2 = JBUI.Borders.empty(1, 2);
Border border3 = JBUI.Borders.emptyTop(1);
</code></pre>
</body>
</html>
